package com.liao.search.service;

/**
 * @Author: ljt
 * @Description: 保存product
 * @DateTime: 2025/3/12 下午8:21
 **/

import com.liao.common.doc.HistoryKeywordDoc;

import java.io.IOException;
import java.util.List;


public interface HistoryKeywordSaveSaveService {


    /**
     * 保存历史浏览关键词
     */
    boolean historyKeyStatusUp(List<HistoryKeywordDoc> historyKeywordDocs) throws IOException;

    /**
     * 查询用户常用关键词
     *
     * @param memberId
     * @return
     * @throws IOException
     */
    String getMemberAlwaysKey(Integer memberId) throws IOException;

    /**
     * 保存用户常用关键词
     *
     * @param text
     * @param MenmberId
     * @return
     */
    boolean save(String text, Integer MenmberId) throws IOException;


}